Part Number Hot Search : 
LT111 EKA8564A EKA8564A SP8603 50005 2TRPB 3216X7R 80L188EA
Product Description
Full Text Search
 

To Download AN1348 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AN1348 APPLICATION NOTE
ST485: A RS-485 BASED INTERFACE WITH LOWER DATA BIT ERRORS
A. Randazzo
1. INTRODUCTION. ST485 is a RS-485 based interface designed for multipoint differential transmission on a single twisted pair cable. It allows half duplex bi-directional transmission, long cable length and high data rate. Typical applications include LANs, industrial (PLC devices), automotive and computer interfaces. The system evolution in the data communication field leads to the development of faster devices with lower data bit errors and ST485 meets all these requirements. 2. FUNCTIONAL DESCRIPTION. Figure 1 shows the internal structure of the ST485. The driver and receiver line pins are connected together; in fact the bi-directional communication can only be half- duplex. The control pins RE and DE are used to enable respectively the receiver and driver and, in many applications, are connected together. The driver has a TTL input while the output is differential. The receiver differential input is internally connected to the driver output. Figure 1: ST485 Internal Structure
RO __ RE DE
1 2
R
8
Vcc
7
B A
3 D
6
DI
4
5
GND
The Vcc supply voltage is 5V, typical DC consumption is less than 0.5mA without load and Data rate is greater than 10Mbps. 3. FEATURES. The most important parameters in a RS-485 device are: - The receiver input threshold. It is 200mV. This feature ensures an improvement of the noise immunity; - The receiver input resistance. It should be high enough to allow the connection of many transceivers
February 2001
1/7
AN1348 - APPLICATION NOTE together. ST485 has a Rin greater than 40kOhm allowing the connection of more than 32 units as well; - The common mode voltage VCM for the receiver, defined as the algebraic mean of the two localground-referenced voltage: VCM=(VA+VB)/2. This parameter is from -7V to +12V for RS-485 standard. VCM enables different ground-referenced devices to work correctly and allowing ground difference up to 7V. For an example see figure 2; - The differential driver output voltage. It depends on the driver output current and, obviously, on the used RLOAD. It must be greater than 1.5V with 27Ohm RLOAD; - The driver short-circuit protection; it should happen that more drivers transmit at the same time giving a conflict. ST485 limits the short circuit current up to 70mA providing a protection for the whole line. Figure 2: Common Mode Voltage Capability
ST485 #1
RO 1 __ RE
2
ST485 #2
8
R
Vcc B A GND
Vcc B A GND
8
R
1
RO __ RE DE DI
7 6
7 6 5 D
2 3 4
DE 3 DI 4 D
5
GND 1
GND 2
Difference in ground potential (max 7V)
4. DIFFERENTIAL LINE ADVANTAGES. Why differential line transmission? - When a signal is transmitted on a single twisted cable, many factors contribute to increase disturbs on the line, like spike and inducted currents. With a differential transmission the same inducted disturb is present on both input A and B, so the difference is null. Figure 3 shows the signal ground-referenced of the ST485 inputs A and B with a noise signal inducted; CH1= receiver input A, CH2= receiver input B, CH4= receiver output. The common mode disturb is not present on the receiver output.
2/7
AN1348 - APPLICATION NOTE Figure 3: Common mode Noise Signal Inducted on a ST485 Differential Line
- In a single ended transmission the distance between logic symbol `1'and `0' is lower respect to the differential one. Table 1 and figure 4 show that, with Vcc=5V, the voltage distance between `1'and `0'logic symbols is 10V without load. Obviously the termination (120Ohm for a twisted cable or 54Ohm for a shield cable) reduces this voltage distance. Figure 4: Single Ended and Differential Signals
A
5V 0V
Ground-referenced signals
RO 1 __ RE 2 5V 0V DE 3 DI 4
R
8 Vcc 7B 6A
5V B 0V 5V A - B 0V -5V
Differential signals
D
5 GND
Table 1: Single Ended and Differential Signals Logic Level 0 1 Single Ended Vout=0V Vout=5V Differential Referenced to ground Vout: A=0V; B=5V Vout: A=5V; B=0V Differential (VA-VB) Vdiff = 0V - 5V = -5V Vdiff = 5V - 0V = +5V
3/7
AN1348 - APPLICATION NOTE 5. APPLICATIONS. A typical ST485 application is the network allowing the connection of up to 32 devices; termination resistances are tied only on the first and last unit and the value depend on the line impedance (54Ohm or 120Ohm), see figure 5. By connecting a node to the line, a stub is created and its length should be lower than 15cm (6inches) to avoid transmission problems. Figure 5: Typical RS-485 Line
D R
Stub length
R R
D
D
Stub length
D
R
In order to avoid wrong data transmission and signal reflections all the transceiver should be connected sequentially among them, like figures 6b and 6d (6a and 6c are bad configurations). Figure 6: Typical Network Connections
6a.
6b.
6c.
6d.
4/7
AN1348 - APPLICATION NOTE 6. ADVICE. 6.1 Stabilization of Output VCM. In order to get greater cable length and higher data rate, with a better signal quality, the following load connection is useful. This configuration, shown in figure 7, allows output VCM voltage filtering and to reduce the common mode disturbs. Figure 7: Configuration to Improve Transmission Performance
RO 1 __ RE 2 DE 3 DI 4
R
8 Vcc 7 6 B A GND
R R
C
D
5
Note: R=RLOAD/2, C=1/10nF ceramic or polyester capacitor. 6.2 AC Termination. The standard RLOAD termination often causes an increase of power consumption, so to minimize the DC loop current flowing on the load, in static conditions, the configuration shown in figure 8 is useful. The R value depends on the line impedance, typically it is 120Ohm for twisted pair cables; C depends either on the cable length or on the line impedance Z0 and must be calculated to result a short-circuit for data transmission. However, this configuration limits the data rate because of the low pass filter make with R and C, then it is useful for medium data rate. Figure 8: Contiguration to Reduce the DC Loop Current
RO __ RE DE DI
1 2 3 4
R
8 7 6
Vcc B
R
A GND
C
D
5
Note: The C capacitor breaks the DC loop current when data transmission is off and reduces the power consumption but limits the data rate.
5/7
AN1348 - APPLICATION NOTE 6.3 Fail Safe Termination. ST485 has an internal failsafe circuit useful when the differential input is floating, for instance, if all the drivers on the line are in Hi-impedance state. Failsafe circuit avoids undefined state of the receiver that stays in a stable logic level, until the input differential voltage exceeds the 200mV. However the internal failsafe resistors are influenced from the external termination loader (54 / 120Ohm) so that an external failsafe circuit is required if the termination resistor is present. A typical failsafe configuration is shown in figure 9. The two resistors Ra (pull-up) and Rc (pull-down) should be 500Ohm while Rb (load) is 130Ohm. Figure 9: Failsafe Configuration
+Vcc
Vcc 8 7 6 D 5 B A
RO 1 __ RE 2 DE 3 DI 4
R
Ra (500Ohm) Rb (130Ohm) Rc (500Ohm)
GND
This load reduces the maximum numbers of transceiver connected to the network and causes a DC current consumption. Figure 10 shows a solution of how to reduce the DC current. Figure 10: Failsafe Configuration with Low DC Current
+Vcc
RO __ RE DE DI
1 2 3 4
R
8 7 6
Vcc B
Ra (22kOhm) Rb (120Ohm)
A GND
C (100nF) Rc (22kOhm)
D
5
6/7
AN1348 - APPLICATION NOTE
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specification mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a trademark of STMicroelectronics (c) 2001 STMicroelectronics - Printed in Italy - All rights reserved
STMicroelectronics GROUP OF COMPANIES Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. http://www.st.com
7/7


▲Up To Search▲   

 
Price & Availability of AN1348

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X